#!/bin/bash
# gtar 用于能在 mac m 系列打包后在linux上正常解压
gtar -zcvf assets.tar.gz assets
gtar -zcvf audit.tar.gz audit
gtar -zcvf authority.tar.gz authority
gtar -zcvf basedata.tar.gz basedata
gtar -zcvf bi.tar.gz bi
gtar -zcvf converge.tar.gz converge
gtar -zcvf converge-executor.tar.gz converge-executor
gtar -zcvf data-input.tar.gz data-input
gtar -zcvf directory.tar.gz directory
gtar -zcvf file.tar.gz file
gtar -zcvf form.tar.gz form
gtar -zcvf gateway.tar.gz gateway
gtar -zcvf index.tar.gz index
gtar -zcvf lifecycle.tar.gz lifecycle
gtar -zcvf metadata.tar.gz metadata
gtar -zcvf mock-login.tar.gz mock-login
gtar -zcvf safety.tar.gz safety
gtar -zcvf standard.tar.gz standard
gtar -zcvf order.tar.gz order
gtar -zcvf report.tar.gz report

rm -rf ../../target/platform/**

mv ./*.gz ../../target/platform/
